home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 2761 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: news.infi.net!usenet
  2. From: nngis@norfolk.infi.net (Greg DiGiorgio)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: i May be a Moron but please help anyway
  5. Date: 23 Jan 1996 18:21:20 GMT
  6. Organization: Customer of InfiNet
  7. Message-ID: <4e38v0$83o@nw002.infi.net>
  8. References: <4c172f$k17@news1.warwick.net> <4e2f6f$i5v@news1.warwick.net>
  9. Reply-To: nngis@norfolk.infi.net
  10. NNTP-Posting-Host: h-insomnia.norfolk.infi.net
  11. Mime-Version: 1.0
  12. X-Newsreader: WinVN 0.99.3
  13.  
  14. In article <4e2f6f$i5v@news1.warwick.net>, vidman@warwick.net says...
  15. >
  16. >Ok i have tried to read about it but i am still clueless.  could
  17. >someone explain the difference between cin and cerr.(maybe example
  18. >code--please no borlandc 1000 line source to explain declaring ints
  19. >tho<G>)
  20. >
  21. >
  22.  
  23. How do you spell 'C'? As C++? Aren't "cin", "cout", and "cerr" C++'s
  24. equivalent to "stdin", "stdout", "stderr"? If so, then these are
  25. pre-defined FILE pointers given to when your program initiates. "cin" is 
  26. usually the console or keyboard for input; "cout" is normally the screen 
  27. for output, and "cerr" is usually the screen even on redirected output.
  28. Greg DiGiorgio
  29.  
  30.